﻿using Autofac;
using PLC.Application;
using PLC.EntityFramework;
using YWM;
using YWM.DependencyInjection;

namespace Framework.WpfTest
{
    [DependsOn(
        typeof(PLCApplicationModule),
        typeof(PLCEntityFrameworkModule)
     )]
    public class PLCModule : BaseModule
    {
        public override void Initialize()
        {
            ContainerBuilder.RegisterAssemblyTypes(GetType().Assembly).AsImplementedInterfaces().AsSelf().InstancePerDependency();
        }
    }
}
